﻿<%@ Page Title="World of Art Server Side Controls" Language="C#" MasterPageFile="~/Views/SiteMaster.Master" AutoEventWireup="true" CodeBehind="ServerSideControls.aspx.cs" Inherits="WorldOfArtWebApp.Views.ServerSideControls" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<p>
The highlighted sections of XHTML code show the implementation of the SQL Data Source control in the Detail View and the Grid View controls. This takes advantage of the data source properties of the view controls and their data binding methods. You can see that the bound field names correspond to the column names in the SQL table called aspnet_Artist. Visual Studio 2010 provides wizards in the design view, which make it very easy to configure these controls. The implementation of this solution could have also been achieved with C# code, in the code behind file of this page using the System.Web.UI.WebControls name space.
   
</p>

<p>
    <asp:Image ID="serverControl1" runat="server"  CssClass="DeploymentImages"  ImageUrl="Images/ArtistPageIllustration-1.JPG" />


</p>
<p>
    <asp:Image ID="serverControl2" runat="server"  CssClass="DeploymentImages"  ImageUrl="Images/ArtistPageIllustration-2.JPG" />


</p>

</asp:Content>
